package com.th.supcom.pds.internal.client.model;

import com.extjs.gxt.ui.client.data.BeanModel;
import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * 医疗卡患者信息模型
 */
public class MedicareCardAllInfoModel extends BeanModel implements IsSerializable
{

    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, TH Supcom Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";

    /**
     * 
     */
    private static final long serialVersionUID = 3477678672039527335L;

    /**
     * 默认构造器 .
     */
    public MedicareCardAllInfoModel ()
    {
    }

    /**
     * 获取卡余额
     * 
     * @return
     */
    public Double getCardBalance ()
    {
        return get ("cardBalance");
    }

    /**
     * 获取医疗卡信息
     * 
     * @return MedicareCardInfoModel
     */
    public MedicareCardInfoModel getMedicareCardInfo ()
    {
        return get ("medicareCardInfo");
    }

    /**
     * 获取医疗卡患者信息
     * 
     * @return MedicareCardPatientInfoModel
     */
    public MedicareCardPatientInfoModel getMedicareCardPatientInfo ()
    {
        return get ("medicareCardPatientInfo");
    }

    /**
     * 设置卡余额
     * 
     * @param cardBalance
     */
    public void setCardBalance (final Double cardBalance)
    {
        set ("cardBalance", cardBalance);
    }

    /**
     * 设置医疗卡信息
     * 
     * @param medicareCardInfoModel
     */
    public void setMedicareCardInfo (final MedicareCardInfoModel medicareCardInfoModel)
    {
        set ("medicareCardInfo", medicareCardInfoModel);
    }

    /**
     * 设置医疗卡患者信息
     * 
     * @param medicareCardPatientInfoModel
     */
    public void setMedicareCardPatientInfo (final MedicareCardPatientInfoModel medicareCardPatientInfoModel)
    {
        set ("medicareCardPatientInfo", medicareCardPatientInfoModel);
    }
}
